package com.amnc.client;
import java.io.File;
import java.text.ParseException;

import com.amnc.common.dif.exception.DIFDataException;
import com.amnc.common.dif.exception.DIFDataPairParsingException;
import com.amnc.common.dif.exception.DIFKeywordException;
import com.amnc.common.dif.exception.DIFNumberPairInfoException;
import com.amnc.common.dif.exception.DIFStringFormatException;
import com.amnc.service.ExcelReader;
public class ExcelChangeGroup {

	public static void main(String[] args) throws InterruptedException, DIFKeywordException, DIFDataPairParsingException, DIFNumberPairInfoException, DIFStringFormatException, DIFDataException, ParseException {
			String  newPath="D:\\Data\\changegroup";	//�ƶ���Ҫ���з��͵�Ŀ¼


				File f=new File(newPath);
			    File fileList[]=f.listFiles();
			    long startTime=System.currentTimeMillis();   //��ȡ��ʼʱ��  
			    	 ExcelReader.getAndSendChangeGrp(fileList[1],6);
			      long endTime=System.currentTimeMillis(); //��ȡ����ʱ��  
				  System.out.println("changegroup7941 ������������ "+(endTime-startTime)/1000+"s"); 
				  System.out.println("changegroup7941  �������з��ӣ� "+(endTime-startTime)/1000/60+"m");
	}
}
